package com.bo.ioc.v1;

public class Framework {
    private Bottom bottom;
    // 车身申请底盘时,需要告知轮胎大小
    public Framework(int tireSize){
        bottom = new Bottom(tireSize);
        System.out.println("车身get");
    }
    // 设置车身颜色
    public Framework(int tireSize,String color){
        bottom = new Bottom(tireSize);
        System.out.println("车身get, color:" + color);
    }
}
